﻿@{
    ViewBag.Title = "Three";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Three</h2>


<div id="galleria">
</div>

<script type="text/javascript">
    $(document).ready(function () {
        
        // Original JavaScript code.
        // Load the classic theme
        //Galleria.loadTheme('galleria/themes/home/galleria.home.js');
        Galleria.loadTheme('../../scripts/themes/three/galleria.three.js');
        //Galleria.loadTheme('/galleria/themes/home/galleria.home.js');
        // Initialize Galleria
        $('#galleria').galleria({
            flickr: 'set:72157626005164187',
            autoplay: 7000  , // will move forward every 7 seconds
            flickrOptions: {
                max: 3, // photos to return
                imageSize: 'original', // photo size ( thumb,small,medium,big,original )
                thumbSize: 'medium', // thumbnail size ( thumb,small,medium,big,original )
                sort: 'date-posted-asc', // sort option ( date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, relevance )
                description: true, // set this to true to get description as caption
            }
        });

    });


</script>
